<?php 
/////////////////////////////////////////////////////////////////////////////////////		
include "required_code.php"; 

				session_start();
				$ses_user_id =$_SESSION['ses_user_id'];
				$ses_std_id = $_SESSION['ses_std_id'];
				if($ses_user_id <> session_id() or  $ses_std_id ==''){
					echo "Authentication failed";
					echo "<meta http-equiv='refresh' content='2;URL=index.php' />";
					}    
					else {
/////////////////////////////////////////////////////////////////////////////////////						
				?>
				
				<table width="800" border="1" align="center" cellpadding="0" cellspacing="0">
				  <tr>
					<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
					  <tr>
						<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
						  <tr>
							<td width="23%" bgcolor="#FFFFFF"><?php include "header.html"; ?></td>
							</tr>
						</table></td>
					  </tr>
					  <tr>
						<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
						  <tr>
						   
							<td width="80%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
							  <tr>
								<td bgcolor="#00CCFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
								  <tr>
									<td><div align="left"><tt>Instruction</tt></div></td>
									<td>&nbsp;</td>
									<td><?php include "right_navi.php"; ?></td>
								  </tr>
								</table></td>
							  </tr>
							  <tr>
								<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
								  <tr>
									<td bgcolor="#FFFFFF"><br />
									  <table width="100%" border="0" cellspacing="0" cellpadding="5">
										<tr>
										  <td><form id="form1" name="form1" method="post" action="pretest.php">
											<label>
											  <div align="center">
												<textarea name="textarea" cols="45" rows="5" readonly="readonly" id="textarea">INSTRUCTION HERE....</textarea>
												<br />
												<input type="submit" name="button" id="button" value="Submit" />
											  </div>
											</label>
										  </form></td>
										</tr>
										<tr>
										  <td></td>
										</tr>
										<tr>
										  <td>&nbsp;</td>
										</tr>
									  </table></td>
								  </tr>
								</table></td>
							  </tr>
							</table></td>
						  </tr>
						</table></td>
					  </tr>
					  <tr>
						<td bgcolor="#FFFFFF"><?php include "footer.html"; ?></td>
					  </tr>
					</table></td>
				  </tr>
				</table>
				</body>
				</html>
				<?php
				/////////////////////////////////////////////////////////////////////////////////////		
					$db_close=db_disconnect($db_open);
					}
/////////////////////////////////////////////////////////////////////////////////////		
?>
